package com.xyy.saas.payment.dao.mapper;

import com.xyy.saas.payment.dao.model.GraySwitchInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface GraySwitchInfoMapper {

    int batchInsert(@Param("list") List<GraySwitchInfo> list);

    int insert(GraySwitchInfo entity);

    List<GraySwitchInfo> queryByParam(GraySwitchInfo queryParam);

    GraySwitchInfo queryById(Long id);

    int deleteById(String id);

}
